package cn.thr.pethome.menu.service;

import cn.thr.pethome.base.service.IBaseService;
import cn.thr.pethome.menu.domain.Menu;

import java.util.List;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author thr
 * @since 2023-02-01
 */
public interface IMenuService extends IBaseService<Menu> {


    List<Long> findMenuByRole (List<Long> roles);

    List<Menu> findAllByparentId();

    List<Menu> tree();

}
